package org.example.service.impl;

import org.example.domain.Province;
import org.example.mapper.ProvinceMapper;
import org.example.service.IProvinceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 李新雨的项目86176
 * @version 1.0
 * @date 2024-12-05 22:52
 */
@Service
public class ProvinceServiceImpl implements IProvinceService {

    @Autowired
    private ProvinceMapper provinceMapper;
    @Override
    public List<Province> findAllProvince() {
        return provinceMapper.selectAll();
    }
}
